FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER kaiwotech@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /imageserver

WORKDIR /imageserver

EXPOSE 8100

ADD ./imageserver/target/images-server.jar ./


CMD sleep 60;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar images-server.jar


